Skip to content

node-yii/php-class-exists

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

php-class-exists

Clone of PHP's function "class_exists" for Node.js.

Installation

$ npm install --save php-class-exists

Example Usage

"use strict";
var class_exists = require('php-class-exists');

class MyClass
{
   // ...
}

if(class_exists("MyClass"))
{
  console.log("Exists");
}
else
{
  console.log("Does not exist");
}

Test

npm test

License

WTFPL

About

Clone of PHP's function "class_exists" for Node.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published