Create Validation Function¶
-
Prudence.
CreateFn
(fn, errMsg)¶ Creates a Validation Function.
- Arguments
fn (function) – The function to use.
errMsg (string) – An error message to attach.
- Returns
Prudence.
CreateFn
(fn, errMsg)¶Creates a Validation Function.
fn (function) – The function to use.
errMsg (string) – An error message to attach.