9 lines
211 B
TypeScript
9 lines
211 B
TypeScript
|
import {
|
||
|
StorageSetListItem,
|
||
|
StorageSharedType,
|
||
|
} from '../interfaces/storage.interfaces';
|
||
|
|
||
|
export default function isSet(storage: StorageSharedType) {
|
||
|
return !!(storage as StorageSetListItem).storages;
|
||
|
}
|