( value: TValue | null | undefined, )
| 20 | export const assignRectangleType = assignType("RECTANGLE"); |
| 21 | |
| 22 | export function isNotEmpty<TValue>( |
| 23 | value: TValue | null | undefined, |
| 24 | ): value is TValue { |
| 25 | return value !== null && value !== undefined; |
| 26 | } |
| 27 | |
| 28 | export const isTypeOrGroupOfTypes = curry( |
| 29 | (matchTypes: NodeType[], node: SceneNode): boolean => { |
nothing calls this directly
no outgoing calls
no test coverage detected