import { IPlayground } from './IPlayground' ; export interface IPlaygroundProvider { playground : IPlayground | ( ( ) => IPlayground ) ; } export function isIPlaygroundProvider ( obj ) { return 'playground' in obj ; }