9 lines
205 B
TypeScript
9 lines
205 B
TypeScript
import * as THREE from "three/webgpu";
|
|
import {get} from "lodash-es";
|
|
|
|
export const isSpotLight = (value: unknown): value is THREE.SpotLight => {
|
|
return get(value, 'isSpotLight') === true;
|
|
}
|
|
|
|
|
|
|