UNPKG
@rc-component/form
Version:
latest (1.8.5)
1.8.5
1.8.4
1.8.3
1.8.2
1.8.1
1.8.0
1.7.2
1.7.1
1.7.0
1.6.2
1.6.1
1.6.0
1.5.0
1.4.0
1.3.2
1.3.1
1.3.0
1.2.0
1.1.0
1.0.0
React Form Component
github.com/react-component/field-form
react-component/field-form
@rc-component/form
/
es
/
utils
/
typeUtil.d.ts
4 lines
(3 loc)
•
204 B
TypeScript
View Raw
1
2
3
4
import
type
{
FormInstance
}
from
'../interface'
;
export
declare
function
toArray<T>(
value
?: T | T[] |
null
): T[];
export
declare
function
isFormInstance<T>(
form
: T |
FormInstance
): form is
FormInstance
;