(
value: DecodedValue,
)
| 186 | * Check if a value is an object type (array, object, or store). |
| 187 | */ |
| 188 | export const isObjectType = ( |
| 189 | value: DecodedValue, |
| 190 | ): value is DecodedValue<ValueType.Array | ValueType.Object | ValueType.Store> => { |
| 191 | const {type} = value |
| 192 | return type === ValueType.Array || type === ValueType.Object || type === ValueType.Store |
| 193 | } |
| 194 | |
| 195 | /** |
| 196 | * Check if a value is an object type (array, object, or store). |
no outgoing calls
no test coverage detected
searching dependent graphs…