function propertyValidator<T>(subValidator, preSaveActions): (subject) => subject is DestructureGuardedTypeObj<Object>
Get a validator which returns whether the property calculation structure is
correct.
Type parameters
Type parameter |
---|
T |
Parameters
Parameter | Type |
---|---|
subValidator | (p1 ) => p1 is T |
preSaveActions | (p1 ) => unknown [] |
Returns
Function
Parameters
Parameter | Type |
---|---|
subject | unknown |
Returns
subject is DestructureGuardedTypeObj<Object>